#ifndef OBJECTWINDOW_H
#define OBJECTWINDOW_H

#include <QWidget>
#include <QDebug>
#include <QStandardItemModel>

#include "commontypes.h"

namespace Ui {
class ObjectWindow;
}

class ObjectWindow : public QWidget
{
    Q_OBJECT

public:
    explicit ObjectWindow(DEFINE_LIST defineList, OBJECT_LIST objectList, QWidget *parent = nullptr);
    ~ObjectWindow();

    void initView();

private:
    Ui::ObjectWindow *ui;
    QStandardItemModel* m_tableModel = nullptr;
    QStandardItemModel* m_treeModel = nullptr;
    DEFINE_LIST m_defineList;
    OBJECT_LIST m_objectList;
};

#endif // OBJECTWINDOW_H
